package cn.chenfeifx.checker.eneity;

import com.alibaba.excel.annotation.ExcelProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import lombok.Data;

@Data
public class ReportEntity {

    private Integer index;

    @ExcelProperty("全宗号")
    private String completeNumber;

    @ExcelProperty("类目号")
    private String categoryNumber;

    @ExcelProperty("件号")
    private String caseNumber;

    @ExcelProperty("档号")
    private String reference;

    @ExcelProperty("责任者")
    private String author;

    @ExcelProperty("文号")
    private String referenceNumber;

    @ExcelProperty("题名")
    private String titleName;

    @ExcelProperty("日期")
    private String date;

    @ExcelProperty("页数")
    private Integer pageNumber;

    @ExcelProperty("年度")
    private Integer year;

    @ExcelProperty("保管期限")
    private String term;

    @ExcelProperty("密级")
    private String security;

    @ExcelProperty("开放状态")
    private String openState;

    @ExcelProperty("备注")
    private String remark;

    private final StringProperty statusPath = new SimpleStringProperty(this, "statusPath");

    public void setStatusPath(String statusPath) {
        this.statusPath.set(statusPath);
    }
}
